home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7372 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: Lehigh.EDU!not-for-mail
  2. From: etl3@Lehigh.EDU
  3. Newsgroups: comp.lang.c++
  4. Subject: floating point error
  5. Date: 22 Feb 1996 18:50:22 -0500
  6. Message-ID: <4givfu$3229@ns3-1.CC.Lehigh.EDU>
  7. NNTP-Posting-Host: ns3-1.cc.lehigh.edu
  8.  
  9. I am running win95 on a PB P90.  I installed Borland C++ 4.51 on my computer
  10. and the installation went smooth.  My problem is if I try to enter a floating
  11. point or double by way of cin >> value I get a error saying floating point
  12. error - overflow.  I declared value as a double but it still doesn't work.  I
  13. took my program to another computer running Borland C++ and it works fine.  Is
  14. there some option that I don't have set properly?  This is really going to
  15. cause some problems if I can't enter in decimal numbers, since I am taking a
  16. programming course.
  17.  
  18. If anyone has any information I could really use some. Thanks in advance.
  19.  
  20. ___________________________________________________________________________
  21. Eric Lapinski                                             Lehigh University
  22. etl3@lehigh.edu                                        Computer Engineering
  23. http://www.lehigh.edu/~etl3/etl3.html
  24. "Eggs, sausage, chips and beans, and a tea."
  25.                     Nick Mason/Pink Floyd-Pompeii
  26.